home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9395 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: news.polymtl.ca!news
  2. From: Louis-Dominique Dubeau <ldd@step.polymtl.ca>
  3. Newsgroups: comp.lang.modula3,comp.lang.c++,comp.lang.java
  4. Subject: Re: Java closer to Modula-3 than to C++
  5. Date: Fri, 01 Mar 1996 10:30:46 -0500
  6. Organization: Ecole Polytechnique de Montreal
  7. Message-ID: <31371826.60F278B8@step.polymtl.ca>
  8. References: <31308FE2.167E@sophia.inria.fr>
  9.         <1996Feb26.192508.2614@friend.kastle.com>
  10.         <nelsoni.825385012@rintintin.Colorado.EDU> <xn17mx9fnt6.fsf@renoir.cs.columbia.edu>
  11. NNTP-Posting-Host: pcmd2.grm94.polymtl.ca
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii
  14. Content-Transfer-Encoding: 7bit
  15. X-Mailer: Mozilla 2.0 (X11; I; Linux 1.3.45 i586)
  16.  
  17. Blair MacIntyre wrote:
  18. > C++ give you all kinds of "control" and "power" by allowing you to
  19. > apparently do all kinds of variations and nit-picky things that allow
  20. > you to "optimize" your programs.
  21.  
  22. This is the job of the compiler.
  23.  
  24. > The most common reason I get for using C++, when I try to convince
  25. > people that they should learn Modula-3 instead, is that C++ gives them
  26. > more power and control.
  27.  
  28. Have you heard about assembly? BTW, if for some reason there is
  29. something you have to do in C or assembly, you can call it from M3 code.  
  30.  
  31. > Modula-3 doesn't have constructors/destructors,
  32.  
  33. Where's the problem?
  34.  
  35. > GC is evil because it has lots of overhead, 
  36.  
  37. Can you support this affirmation?
  38.  
  39. > you can do threads in C++, 
  40.  
  41. True but C++ does not have the nice mutex control statements of
  42. Modula-3.
  43.  
  44. > no multiple inheritance
  45.  
  46. Have you heard about aggregates.  Besides I can't remember when was the
  47. last time I neede multiple inheritance.
  48.  
  49. > C++ has exceptions now, etc etc.
  50.  
  51. That's new.
  52.  
  53. > People don't
  54. > seem to be as concerned about things like suitability to building
  55. > large programs, distributed programs, working programs, robust
  56. > programs, etc etc.
  57.  
  58. This is why they go bankrupt.
  59.  
  60.     ldd
  61.  
  62. -- Louis-Dominique Dubeau == Home page: http://step.polymtl.ca/~ldd/ --
  63.